package properties;

import lombok.Data;

import java.util.Properties;

/**
 * @author liufei
 * @date 2021/8/18 17:16
 */
@Data
public class ScheduleProperties extends BaseProperties {
    private String cron;
    private String outTime;

    public ScheduleProperties() {
        Properties properties = readProperties("schedule.properties");
        cron = properties.getProperty("cron");
        logger.info("加载调度配置：" + toString());
    }

}
